import pytest
import os
import time

from ReadConfigFile import ReadConfigFile
from SendingEmails import SendingEmails
from pytest_main import PytestMain

if __name__ == '__main__':


    # client.remove_file("huanaoao")
    time.sleep(3)

    pytest.main(['D:\Python\Project\project01\Auto\day02', '-sv', '--alluredir', '././report/temp_jsonreport'])


    # pytest.main(['D:\Python\Project\project01\Auto\day02','-sv','--alluredir','././report/temp_jsonreport'])
    # os.system("allure generate ./report/temp_jsonreport -o ./report/huanaoao --clean")  # 使用Allure命令行工具生成HTML格式的报告
